import request from '@/utils/request'
/*
公告管理
*/
const api_name = '/system/tallyFinancialRecord'

export default {

  /**
   * 新增账务明细
   * @returns {*}
   */
  save(data) {
    return request({
      url: `${api_name}/save`,
      method: 'post',
      data
    })
  },
  /**
   * 新增账务明细
   * @returns {*}
   */
  getZhi(data) {
    return request({
      url: `${api_name}/getZhe`,
      method: 'post',
      data
    })
  },
  getBing(data) {
    return request({
      url: `${api_name}/getBing`,
      method: 'post',
      data
    })
  },
  findPage(data) {
    return request({
      url: `${api_name}/getPage`,
      method: 'post',
      data
    })
  },
  update(data) {
    return request({
      url: `${api_name}/updateById`,
      method: 'post',
      data
    })
  },
  removeById(id) {
    return request({
      url: `${api_name}/removeById/${id}`,
      method: 'get'
    })
  }
}

